#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author Jmz

info = '''
__addr = '上海'
def __init__(self,name):
    self.name = name
def do(self,thing):
    pring('%s 正在做%s'%self.name,thing)
'''

local = {}

exec(info,{},local)

People = type("People",(object,),local)

print(People.__dict__)




